﻿using System;
using Lucas.Wendell.PI.Model.Enum;

namespace Lucas.Wendell.PI.Model
{
    public class NetImobiliariaException : Exception
    {
        public NetImobiliariaExceptionTypes ExceptionType { get; set; }

        public NetImobiliariaException(string message)
            : base(message)
        {
            
        }

        public NetImobiliariaException(NetImobiliariaExceptionTypes exceptionType)
        {
            this.ExceptionType = exceptionType;
        }

        public NetImobiliariaException(NetImobiliariaExceptionTypes exceptionType, string message)
            : base(message)
        {
            this.ExceptionType = exceptionType;
        }

        public NetImobiliariaException(NetImobiliariaExceptionTypes exceptionType, string message,
                                       Exception innerException)
            : base(message, innerException)
        {
            this.ExceptionType = exceptionType;
        }
    }
}
